<%-- 
    Document   : NewAcc
    Created on : Apr 18, 2011, 8:44:18 PM
    Author     : Administrator
--%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="/page/header.jsp" %>
<html:form action="AddAccount">
    <table width="100%" border="0">
        <tr>
            <td colspan="2"><h3>Customer Entry Form</h3></td>
        </tr>
        <tr>
            <td style="text-align: right">Account Number:</td>
            <td style="text-align: left"><html:text property="accNo"></html:text></td>
        </tr>
        <tr>
            <td style="text-align: right">Password:</td>
            <td style="text-align: left"><html:password property="pass"></html:password></td>
        </tr>
        <tr>
            <td style="text-align: right">Retype Password:</td>
            <td style="text-align: left"><html:password property="repass"></html:password></td>
        </tr>
        <tr>
            <td style="text-align: right">Opening Balance:</td>
            <td style="text-align: left"><html:text property="balance"></html:text></td>
        </tr>
        <tr>
            <td colspan="2" style="color:red;font-weight: bold">
                ${error}
            </td>
        </tr>
        <tr>
            <td style="text-align: right"><html:submit> submit </html:submit></td>
            <td style="text-align: left"><html:reset>reset</html:reset></td>
        </tr>
    </table>

</html:form>
<div style="width: 60%;font-weight: bold;text-align: left;color: red" align="center">
    <html:errors />
</div>


<%@include file="/page/footer.jsp" %>